import type { App } from "vue";
import * as components from "@/config/components";

// 全局注册组件
export default {
  install: (app: App<Element>): void => {
    for (const key of Object.keys(components)) {
      app.component(key, (components as any)[key]);
    }
  }
};
